package com.example.springbootdesign.util;

import com.example.springbootdesign.controller.UserController;
import com.example.springbootdesign.proxy.ITestController;
import com.example.springbootdesign.proxy.MetricsCollectorProxy;
import com.example.springbootdesign.proxy.TestController;

public class GenericsDemo {

    public static void main(String[] args) {
        MetricsCollectorProxy proxy = new MetricsCollectorProxy();
        ITestController userController = (ITestController) proxy.createProxy(new TestController());
        userController.testUser("tony");
    }


}
